import 'package:core_package/share/size_fill.dart';
import 'package:flutter/material.dart';
class MySizeBox extends StatelessWidget {
  final double width;
  final double height;
  final Widget? child;

  const MySizeBox({Key? key, this.width =0, this.height =0, this.child}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: SizeFill.setRx(width),
      height: SizeFill.setRx(height),
      child: child,
    );
  }
}
